projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96cc36c
)
(compile_pattern_1): Enable RE_CHAR_CLASSES for regexp.
author
Richard M. Stallman
<rms@gnu.org>
Sun, 29 Aug 1999 20:40:00 +0000
(20:40 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 29 Aug 1999 20:40:00 +0000
(20:40 +0000)
src/search.c
patch
|
blob
|
history
diff --git
a/src/search.c
b/src/search.c
index 4b135a6a84a8e62831bd5bcafef70fdb10d4aeda..da4f635582f7dc05fa0df43e779e314808190c0d 100644
(file)
--- a/
src/search.c
+++ b/
src/search.c
@@
-170,7
+170,7
@@
compile_pattern_1 (cp, pattern, translate, regp, posix, multibyte)
cp->posix = posix;
cp->buf.multibyte = multibyte;
BLOCK_INPUT;
- old = re_set_syntax (RE_SYNTAX_EMACS
+ old = re_set_syntax (RE_SYNTAX_EMACS
| RE_CHAR_CLASSES
| (posix ? 0 : RE_NO_POSIX_BACKTRACKING));
val = (char *) re_compile_pattern ((char *)raw_pattern,
raw_pattern_size, &cp->buf);